﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DictinaryTools
{
    public partial class TableStructInfo : Form
    {
        public DataTable dt = new DataTable();
        public TableStructInfo()
        {
            InitializeComponent();
        }

        public void showdata(DataTable dtb,string tablename)
        {
            dt = dtb;
            dataGridView1.DataSource = dt;
            label1.Text = "表 【" + tablename + "】的结构";
        }
    }
}
